/**
 * related to clientInfo.cell.addressContent.ui
 * 
 * @Author : ln008
 * @Timestamp : 2017-04-20
 */
var cli_layoutAddre=ui("cli_layoutAddre")
var log = require("util/log")
var page = sm("do_Page")
var navigate = require("util/navigate")
var router = require('config/router')
var address_icon=ui("address_icon")
ui("$").setMapping({
	"cl_peoLable.text" : "relation",
	"cl_peoName.text" : "custName",
	"cl_peoAddress.text" : "addressType",
	"cl_peoDate.text" : "updateTime",	
	"cl_addrLabel.text" : "addressStatus",
	"cl_addrInfo.text" : "detailAddress",
	"cli_layoutAddre.tag":"addressID"
	});
cli_layoutAddre.on("touch", function() {
	navigate.redirectTo({ 
			view : router.app.baiduMap,
			data:{
				geolocation:cli_layoutAddre.tag
			}
		})
})
address_icon.on("touch", function() {
	navigate.redirectTo({ 
			view : router.app.baiduMap,
			data:{
				geolocation:cli_layoutAddre.tag
			}
		})
})
